<?php 
$expireAttr = array('label' => (string) $this->language('下次自动登录'), 'checked' => 'checked');
if(!$this->expires) unset($expireAttr['checked']);
?><form action="<?php echo $this->url('account/passport');?>" method="post">
<?php echo $this->form()->hidden('referer', $this->referer) . "\n";?>
<table class="form">
	<tr>
		<td class="l"><strong><?php echo $this->language('您的通行证帐号');?>:</strong></td>
		<td><span class="show"><?php echo $this->row->getIdentity();?></span></td>
	</tr>
	<tr>
		<td><strong><?php echo $this->language('请输入密码');?>:</strong></td>
		<td><?php echo $this->form()->password('password', '', array('maxlength' => '30', 'size' => '30'));?></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td class="remember">
			<?php echo $this->form()->checkbox('expires', system_session::getOptions('remember_me_seconds'), $expireAttr);?>
			<code><?php echo $this->language('为了您的帐号安全，请不要在公共场合(如学校，网吧等)选择此项');?></code>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><button type="submit" value="Submit" name="submit" class="save"><?php echo $this->language('登录');?></button></td>
	</tr>
</table>
</form>
<?php $this->headStyle()->captureStart();?>
.remember label {margin-left:5px;}
.remember code {padding-top:2px;line-height:1.4em;}
<?php $this->headStyle()->captureEnd();?>
